#ifndef _INTERFACE_H_
# define _INTERFACE_H_

#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <string.h>
#include <stdio.h>

#include <bonobo.h>
#include <gnome.h>
#include <gconf/gconf.h>
#include <gr_graph_fun.h>

#ifdef HAVE_CONFIG_H
#  include <config.h>
#endif

#include "perror_exit.h"
#include "callbacks.h"
#include "support.h"
#include "client_protocol.h"

GtkWidget* create_appW3Live (w3lclient *w3lc);
GtkWidget* create_graph (char *xgmml);
GtkWidget* create_about (void);
GtkWidget* create_launch (void);
GtkWidget* create_connect (void);
GtkWidget* create_conn_fail (char *msg);
GtkWidget* create_daemon (char *base, char *prefix, char *domain, char *port, char *log);
GtkWidget* create_color_select(GtkWidget *graph);
GtkWidget* create_font_select(GtkWidget *graph);
GtkWidget* create_file_selection(GraphFrame **graph);
GtkWidget* create_windowMonitorPopup (char *time, char *name, char *text);
GtkWidget* create_windowMessage (char *Message);

#define GLADE_HOOKUP_OBJECT(component,widget,name) \
  gtk_object_set_data_full (GTK_OBJECT (component), name, \
    gtk_widget_ref (widget), (GtkDestroyNotify) gtk_widget_unref)

#define GLADE_HOOKUP_OBJECT_NO_REF(component,widget,name) \
  gtk_object_set_data (GTK_OBJECT (component), name, widget)

#endif
